package com.travel.server.manager.dao;

import com.travel.server.manager.model.OrderTravelInfo;
import com.travel.server.manager.model.OrderTravelInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderTravelInfoDao {
    int countByExample(OrderTravelInfoExample example);

    int deleteByExample(OrderTravelInfoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderTravelInfo record);

    int insertSelective(OrderTravelInfo record);

    List<OrderTravelInfo> selectByExample(OrderTravelInfoExample example);

    OrderTravelInfo selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderTravelInfo record, @Param("example") OrderTravelInfoExample example);

    int updateByExample(@Param("record") OrderTravelInfo record, @Param("example") OrderTravelInfoExample example);

    int updateByPrimaryKeySelective(OrderTravelInfo record);

    int updateByPrimaryKey(OrderTravelInfo record);
}